@use "./reset";
@use "./login";

.app-container {
  padding: 10px;
}

.search-container {
  padding: 18px 0 0 10px;
  margin-bottom: 10px;
  background-color: var(--el-bg-color-overlay);
  border: 1px solid var(--el-border-color-light);
  border-radius: 4px;
  box-shadow: var(--el-box-shadow-light);
}
.el-card.table-container {
  margin-bottom: 0;
}
.table-container > .el-card__header,
.el-card .el-card__header {
  padding: 10px;
}
.el-card .card-header {
  line-height: 32px;
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32 160 255);
  }
}
#app .el-sub-menu {
  border-bottom: 1px solid #f2f3f5;
}
#app .el-menu-item {
  color: #222;
}
#app .el-menu-item.is-active {
  color: #409eff;
  background-color: #ebf8ff;
}
#app .el-menu-item:hover {
  background-color: #ebf8ff;
}
#app .el-sub-menu__title {
  color: #222;
  background: #c0e1ff;
}
#app .el-sub-menu.is-active .el-sub-menu__title {
  color: #222;
}
#app .el-sub-menu__title:hover {
  color: #222;
  background: #c0e1ff;
}
#app .sidebar-container .el-menu {
  background-color: #fff;
}

.el-radio-group .el-radio {
  margin-right: 16px;
}
.el-card {
  margin-bottom: 10px;
}
.el-card__body {
  padding: 10px;
}
.card-header {
  height: 32px;
  .card_right_btn_Wrap {
    float: right;
    display: block;
    li {
      float: left;
      margin-left: 10px;
    }
  }
}
.el-table .el-table__header-wrapper th.el-table__cell {
  background-color: #edf6ff !important;
}
.el-table .el-table__header-wrapper .el-table__cell {
  text-align: center;
}
.searchIconClass {
  cursor: pointer;
}
.search_container_warp .el-form--inline .el-form-item {
  margin-right: 10px;
}
.form_card_warp {
  .el-form--inline .el-form-item {
    margin: 0;
  }
  .el-card__body {
    padding: 10px;
  }
}
.el-col {
  .el-form-item {
    width: 100%;
  }
  .el-form-item__content {
    width: 80%;
  }
}
.editIconClass {
  cursor: pointer;
  color: #409eff;
  margin-right: 10px;
}
.deleteIconClass {
  cursor: pointer;
  color: #cb0000;
}

.is-message-box {
  .el-message-box {
    padding: 0;
    min-height: 180px;
    .el-message-box__header {
      padding: 0;
    }
    .el-message-box__title {
      padding: 0 0 0 16px;
      line-height: 40px;
      background: #2f84f1;
      color: #fff;
      font-size: 16px;
    }
    .el-message-box__close {
      color: #fff;
    }
    .el-message-box__content {
      margin: 20px;
    }

    .el-message-box__btns {
      position: absolute;
      bottom: 20px;
      left: 50%;
      margin-left: -70px;
    }
  }
}

.el-overlay .el-dialog {
  min-height: 440px;
  padding: 0;
  .el-form-item__label {
    width: 24%;
  }
  .el-form-item__content {
    display: block;
    flex: none;
    line-height: 32px;
    width: 70%;
    .el-date-editor {
      width: 100%;
    }
  }
  .el-dialog__header {
    padding: 0 0 0 16px;
    line-height: 40px;
    background: #2f84f1;

    .el-dialog__title {
      color: #fff;
      font-size: 16px;
    }
    .el-dialog__headerbtn {
      background: #2f84f1;
      width: 40px;
      height: 40px;
      .el-dialog__close {
        color: #ffffff;
      }
    }
  }
  .el-dialog__body {
    padding: 16px;
  }
  .el-dialog__footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -70px;
  }
}
.maxHeightClass .el-dialog {
  height: 580px;
}
.search_container_warp {
  width: 100%;
  height: 50px;
  background-color: #fff;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  .search_container {
    position: absolute;
    right: 0;
    top: 9px;
    .el-input__wrapper,
    .el-select {
      width: 180px;
    }
  }
}
.el-table th.customCell .cell {
  position: relative;
}
.customCell {
  padding: 0 !important;
  .cell {
    padding: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    ul {
      display: flex;
      height: 100%;
      flex-direction: column;
      justify-content: center;
    }
    ul > li.liText {
      border-bottom: 1px solid #eee;
      flex: 1;
      position: relative;
      .textSpan {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
      }
    }
    .gotoClass {
      cursor: pointer;
      color: #409eff;
    }
  }
}

.clickLinkClass {
  cursor: pointer;
  color: #409eff;
  text-decoration: underline;
}
